How do I add a new key-value pair in a smart way to a dict if the key is already contained in the di

visit shbcf.ru